<template>
    <div class="layout">
        <div class="header">
            <div class="left">
                <p class="logo">logo名称</p>
                <div class="one"></div>
                <div class="two"></div>
            </div>
            <div class="cneter-t"></div>
            <div class="cneter">
                <h1 class="title">医疗参保驾驶舱监控平台</h1>
            </div>
            <div class="right">
                <p class="time">
                    <span class="ttt">2020</span>年
                    <span class="ttt">03</span>月
                    <span class="ttt">15</span>日
                    <span class="ttt">11</span>时
                    <span class="ttt">00</span>分
                    <span class="ttt">10</span>秒
                    <span class="ttt">星期天</span>
                </p>
                <div class="one1"></div>
                <div class="two1"></div>
            </div>
        </div>
        <div demo-bg>
            <dv-border-box9 style="width: 98%;height:85vh;position:absolute;top:12vh;left:1.8vh;border-color: #097978;">
                <div dv-bg
                    style="display: flex;justify-content: space-between;flex-wrap: wrap;padding:4vh;overflow:hidden;">
                    <div demo-bg>
                        <dv-border-box6 style="height: 38vh;">
                            <div dv-bg>
                                <div class="layout-radar">
                                    <radar />
                                </div>
                            </div>
                        </dv-border-box6>
                    </div>


                    <div demo-bg>
                        <dv-border-box6 style="height: 38vh;">
                            <div dv-bg>
                                <div class="layout-radar">
                                    <maps />
                                </div>
                            </div>
                        </dv-border-box6>
                    </div>



                    <div demo-bg>
                        <dv-border-box6 style="height: 38vh;">
                            <div dv-bg>
                                <div class="layout-radar">
                                    <message />
                                </div>
                            </div>
                        </dv-border-box6>
                    </div>

                    <div demo-bg>
                        <dv-border-box6 style="height: 38vh;">
                            <div dv-bg>
                                <div class="layout-pillar">
                                    <pillar />
                                </div>
                            </div>
                        </dv-border-box6>
                    </div>

                    <div demo-bg>
                        <dv-border-box6 style="height: 38vh;">
                            <div dv-bg>
                                <div class="layout-pillar">
                                    <pie />
                                </div>
                            </div>
                        </dv-border-box6>
                    </div>


                    <div demo-bg>
                        <dv-border-box6 style="height: 38vh;">
                            <div dv-bg>
                                <div class="layout-pillar">
                                    <pies />
                                </div>
                            </div>
                        </dv-border-box6>
                    </div>


                </div>
            </dv-border-box9>
        </div>






    </div>
</template>

<script setup lang="ts">
import { BorderBox9 as DvBorderBox9 } from '@kjgl77/datav-vue3'
import { BorderBox6 as DvBorderBox6 } from '@kjgl77/datav-vue3'
import radar from '@/components/radar.vue'
import maps from '@/components/map.vue'
import message from '@/components/message.vue'
import pillar from '@/components/pillar.vue'
import pie from '@/components/pie.vue';
import pies from '@/components/pies.vue';

</script>

<style scoped lang="scss">
.layout {
    width: 100%;
    height: 100vh;
    background: #030c27;
    position: relative;

    .header {
        width: 98%;
        height: 10vh;
        margin: auto;
        padding-top: 0.5vh;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;

        .left {
            width: 28%;
            height: 9vh;
            position: relative;
            .one {
                width: 100%;
                height: 9vh;
                border: 3px solid #24dccb;
                background: rgba(17, 111, 114, 0.5);
                clip-path: polygon(20% 0, 90% 0, 82% 100%, 0 100%);
                transform: scaleY(-1);
            }

            .logo {
                color: whitesmoke;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                z-index: 999;
                font-size: 2.5vh;
                font-weight: bolder;
            }

            .two {
                width: 15%;
                height: 7vh;
                border: 3px solid #24dccb;
                background: rgba(17, 111, 114, 0.5);
                position: absolute;
                bottom: -8px;
                left: 0;
                clip-path: polygon(0% 0, 0% 0, 100% 100%, 0 100%);
            }
        }

        .cneter {
            width: 40%;
            height: 9vh;
            border: 3px solid #24dccb;
            background: rgba(17, 111, 114, 0.5);
            clip-path: polygon(5% 0, 85% 0, 90% 100%, 0 100%);
            transform: scaleY(-1);
            font-size: 25px;

            .title {
                transform: scaleY(-1);
                position: absolute;
                top: 1vh;
                left: 7vh;
                color: whitesmoke;
            }
        }

        .cneter-t {
            width: 4.2%;
        }

        .right {
            width: 28%;
            height: 9vh;
            position: relative;
            transform: scaleX(-1);

            .time {
                position: absolute;
                top: 3.3vh;
                right: 8.5vh;
                transform: scaleX(-1);
                font-size: 1.5vh;
                font-weight: bolder;
                z-index: 999;
                color: whitesmoke;

                .ttt {
                    font-size: 2.5vh;
                    color: #efdd17;
                }
            }

            .one1 {
                width: 100%;
                height: 9vh;
                border: 3px solid #24dccb;
                background: rgba(17, 111, 114, 0.5);
                clip-path: polygon(20% 0, 90% 0, 82% 100%, 0 100%);
                transform: scaleY(-1);
                line-height: 9vh;
            }

            .two1 {
                width: 15%;
                height: 7vh;
                border: 3px solid #24dccb;
                background: rgba(17, 111, 114, 0.5);
                position: absolute;
                bottom: -8px;
                left: 0;
                clip-path: polygon(0% 0, 0% 0, 100% 100%, 0 100%);
            }
        }
    }

    .layout-radar {
        width: 590px;
        height: 343px;
        float: left;
        margin-bottom: 2.5vh;
    }

    .layout-pillar {
        width: 590px;
        height: 343px;
        float: left;
    }
}
</style>